//---------------------------------------------------------------------
// <copyright file="CsdlEntitySet.cs" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//---------------------------------------------------------------------

namespace Microsoft.Data.Edm.Csdl.Internal.Parsing.Ast
{
    /// <summary>
    /// Represents a CSDL Entity Set.
    /// </summary>
    internal class CsdlEntitySet : CsdlNamedElement
    {
        private readonly string entityType;

        public CsdlEntitySet(string name, string entityType, CsdlDocumentation documentation, CsdlLocation location)
            : base(name, documentation, location)
        {
            this.entityType = entityType;
        }

        public string EntityType
        {
            get { return this.entityType; }
        }
    }
}
